package com.ning.ems.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author Ning 242741154@qq.com
 * @date 2020/6/19 16:49
 */
@Data
@ApiModel("DTO-User-CheckPass")
public class UserCheckPassDto {
    @ApiModelProperty("用户id")
    @NotNull(message = "用户id不能为空")
    private Integer id;

    @ApiModelProperty("密码")
    @NotNull(message = "密码不能为空")
    private String password;
}
